package net.hombrecero.bigbeat.model;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

import org.hibernate.annotations.AccessType;

@Entity
@AccessType( "field" )
public class SubSet extends Base {
    @ManyToOne( cascade = { CascadeType.PERSIST, CascadeType.MERGE } )
    @JoinColumn( name="uuidProject", nullable=false )
    private Project project;
  @Column( length=32, nullable = false )
  private String name;
  @Column( length=16, nullable = false )
  private String alias1;
  @Column( length=16, nullable = false )
  private String alias2;
  @Column( length=16, nullable = false )
  private String alias3;



  public Project getProject() {
    return this.project;
  }
  public void setProject( Project project ) {
    this.project = project;
  }
  public String getName() {
    return this.name;
  }
  public void setName( String name ) {
    this.name = name;
  }
  public String getAlias1() {
    return this.alias1;
  }
  public void setAlias1( String alias1 ) {
    this.alias1 = alias1;
  }
  public String getAlias2() {
    return this.alias2;
  }
  public void setAlias2( String alias2 ) {
    this.alias2 = alias2;
  }
  public String getAlias3() {
    return this.alias3;
  }
  public void setAlias3( String alias3 ) {
    this.alias3 = alias3;
  }
}
